home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Shapes / prism.txt < prev    next >
Encoding:
Text File  |  2000-04-06  |  470 b   |  14 lines

  1. // extrude a closed 2-D shape along an axis
  2. prism {
  3.   linear_sweep // or conic_sweep for tapering to a point
  4.   cubic_spline // linear_spline | quadratic_spline | cubic_spline
  5.   -0.5,        // height 1
  6.    0.5,        // height 2
  7.   10,          // number of points
  8.   // the <u,v> points
  9.   < 0.2, -1.0>, < 0.2,  0.2>, < 1.0, -0.2>, < 1.0,  0.2>, < 0.2,  1.0>, 
  10.   <-0.2,  1.0>, <-1.0,  0.2>, <-1.0, -0.2>, <-0.2,  0.2>, <-0.2, -1.0>
  11.   // [open]
  12.   // [sturm]
  13. }
  14.